package com.fmi.chesstern.strategy;

import java.util.ArrayList;

import com.fmi.chesstern.gameboard.GameBoard;
import com.fmi.chesstern.gameboard.GameField;

public class QueenStrategy implements IGameStrategy {

	public ArrayList<GameField> getValidMoves(GameField currentPosition, GameBoard board) {
		ArrayList<GameField> moves = new ArrayList<GameField>();
		moves.addAll((new RookStrategy()).getValidMoves(currentPosition, board));
		moves.addAll((new BishopStrategy()).getValidMoves(currentPosition, board));
		return moves;
	}

}
